package com.meteor.convert;

import com.meteor.entity.Complaint;
import com.meteor.entity.Publicity;
import com.meteor.vo.ComplaintVO;
import com.meteor.vo.PublicityVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface ComplaintConvert {

    ComplaintConvert INSTANCE = Mappers.getMapper(ComplaintConvert.class);

    ComplaintVO convert(Complaint entity);

    Complaint convert(ComplaintVO vo);

    List<ComplaintVO> convertList(List<Complaint> list);

}
